package com.embhealth.service;

import com.embhealth.entity.PageResult;
import com.embhealth.entity.QueryPageBean;
import com.embhealth.pojo.Member;
import com.embhealth.pojo.MemberFile;

import java.util.List;
import java.util.Map;

public interface MemberService {
    public Member findByTelephone(String telephone);
    public List<Integer> findMemberCountByMonths(List<String> months);
    public void add_member(Member member) throws Exception;//member添加
    public PageResult findPage(QueryPageBean queryPageBean);//条件分页
    public void edit_member(Member member);//member编辑
    public Member findById(Integer id);//查询id行
    public void deleteById(Integer id);//删除id行
    public void del_member(Map map);//批量删除
    public void add(Member member);
    public void edit(Member member);

    public Map<String, Object> findAgeGroup();
    public MemberFile getmemberfile(String tel);
}
